package com.example.a_lib.http.resp

import com.xingzhi.android.biz.model.Model


/**
 * Created by xiedongdong on 2020/01/18
 */
class Response<T>(
    var code: Int = 0,
    var msg: String? = null,
    var data: T? = null
) : Model() {


    fun isSuccess(): Boolean {
        return code == 200
    }
}